package com.bgrconsulting.stockorderentry.service.converter;


import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import com.bgrconsulting.stockorderentry.service.model.AccountBalance;

@XmlRootElement(name = "accountBalance")
public class AccountBalanceConverter {
	private AccountBalance enity = null;
	public AccountBalanceConverter() {
		enity = new AccountBalance();
	}
	
    public AccountBalanceConverter(AccountBalance accountBalance) {
    	enity = accountBalance;
    }
    
    @XmlElement(name = "cashAvailableForWithDrawal")
	public Double getCashAvailableForWithDrawal() {
		return enity.getCashAvailableForWithDrawal();
	}
	
    @XmlElement(name = "netAccountValue")
	public Double getNetAccountValue() {
		return enity.getNetAccountValue();
	}
	
    @XmlElement(name = "netCash")
	public Double getNetCash() {
		return enity.getNetCash();
	}
	
    @XmlElement(name = "sweepDepositAmount")
	public Double getSweepDepositAmount() {
		return enity.getSweepDepositAmount();
	}
	
    @XmlElement(name = "totalSecurituesMktValue")
	public Double getTotalSecurituesMktValue() {
		return enity.getTotalSecurituesMktValue();
	}
}
